package com.easy.yours.biz.model;

import com.easy.system.model.BaseBean;

import javax.persistence.*;

/**
 * Created with IntelliJ IDEA.
 * User: sunguangzhu
 * Date: 13-6-18
 * Time: 下午2:21
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "demo", catalog = "commonproject")
public class Demo extends BaseBean implements java.io.Serializable {
    // Fields
    private String property1;
    private String property2;
    // Constructors

    /** default constructor */
    public Demo() {
    }

    /** full constructor */
    public Demo(String property1, String property2) {
        this.property1 = property1;
        this.property2 = property2;
    }

    // Property accessors


    @Column(name = "property1", length = 50)
    public String getProperty1() {
        return this.property1;
    }

    public void setProperty1(String property1) {
        this.property1 = property1;
    }

    @Column(name = "property2", length = 50)
    public String getProperty2() {
        return this.property2;
    }

    public void setProperty2(String property2) {
        this.property2 = property2;
    }

}
